<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>DLC Search Engine: com.utn.searchengine.PostList Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">DLC Search Engine
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacecom.html">com</a>      </li>
      <li class="navelem"><a class="el" href="namespacecom_1_1utn.html">utn</a>      </li>
      <li class="navelem"><a class="el" href="namespacecom_1_1utn_1_1searchengine.html">searchengine</a>      </li>
      <li class="navelem"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html">PostList</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">com.utn.searchengine.PostList Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="com::utn::searchengine::PostList" -->
<p><a href="classcom_1_1utn_1_1searchengine_1_1_post_list-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Map&lt; String, ArrayList<br class="typebreak"/>
&lt; <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word_tracker.html">WordTracker</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#a3835cd78d9a6cbe59b2bcf078d90509c">getPostList</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#ac9f616ad84ee2a77cdadfbfe5730c2e8">setPostList</a> (Map&lt; String, ArrayList&lt; <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word_tracker.html">WordTracker</a> &gt;&gt; postList)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#aa5b0c80862532321e12b5d1656b5efe8">PostList</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#a6f4e25174e4d0523f22bfb612bdb6182">PostList</a> (Map&lt; String, ArrayList&lt; <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word_tracker.html">WordTracker</a> &gt;&gt; postList)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#af23ef7a6ccf86e12327af6c2b0f1e099">addDocumentWords</a> (Map&lt; String, Integer &gt; words, String documentLocation)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#a8f3297b7f1318ebb41af197f7b516cd8">totalTimesThatWordRepeatsOnDocument</a> (<a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a> word, <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_document.html">Document</a> document)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#a1c1f62c62dd582404f6010a568a47daa">numberOfDocumentsWhereWordAppears</a> (<a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a> word)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Map&lt; String, <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#a3d377cfba00c9f0df426b835fddee6e1">getAllWords</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Collection&lt; <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_document.html">Document</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#aa383844fc15866fdbd19c4de02dd544c">getCandidateDocuments</a> (Collection&lt; String &gt; wordquery)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#a64dbfffa646daea156a31746bb0685e9">getWordsDocument</a> (<a class="el" href="classcom_1_1utn_1_1searchengine_1_1_document.html">Document</a> document)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_document_results.html">DocumentResults</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#a33bdf8f8460ac8622d069786707051f0">getCandidateDocumentsFiltered</a> (Collection&lt; String &gt; wordquery)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An In-memory representation of a Post list. This is recommend to be on disc so probably soon, aPostListManager will difference this Local Post list form the other. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>altamirano,peker,liberal </dd></dl>

<p>Definition at line <a class="el" href="_post_list_8java_source.html#l00021">21</a> of file <a class="el" href="_post_list_8java_source.html">PostList.java</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa5b0c80862532321e12b5d1656b5efe8"></a><!-- doxytag: member="com::utn::searchengine::PostList::PostList" ref="aa5b0c80862532321e12b5d1656b5efe8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#aa5b0c80862532321e12b5d1656b5efe8">com.utn.searchengine.PostList.PostList</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_post_list_8java_source.html#l00033">33</a> of file <a class="el" href="_post_list_8java_source.html">PostList.java</a>.</p>

</div>
</div>
<a class="anchor" id="a6f4e25174e4d0523f22bfb612bdb6182"></a><!-- doxytag: member="com::utn::searchengine::PostList::PostList" ref="a6f4e25174e4d0523f22bfb612bdb6182" args="(Map&lt; String, ArrayList&lt; WordTracker &gt;&gt; postList)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#aa5b0c80862532321e12b5d1656b5efe8">com.utn.searchengine.PostList.PostList</a> </td>
          <td>(</td>
          <td class="paramtype">Map&lt; String, ArrayList&lt; <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word_tracker.html">WordTracker</a> &gt;&gt;&#160;</td>
          <td class="paramname"><em>postList</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_post_list_8java_source.html#l00037">37</a> of file <a class="el" href="_post_list_8java_source.html">PostList.java</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af23ef7a6ccf86e12327af6c2b0f1e099"></a><!-- doxytag: member="com::utn::searchengine::PostList::addDocumentWords" ref="af23ef7a6ccf86e12327af6c2b0f1e099" args="(Map&lt; String, Integer &gt; words, String documentLocation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#af23ef7a6ccf86e12327af6c2b0f1e099">com.utn.searchengine.PostList.addDocumentWords</a> </td>
          <td>(</td>
          <td class="paramtype">Map&lt; String, Integer &gt;&#160;</td>
          <td class="paramname"><em>words</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>documentLocation</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adds the words of a document to the postList. In case a word already exists on the post list, it adds the newlocation where the word has been found, and the amount of times that it appeared. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">words</td><td>An array of locations and times that the word that the word has been found on that document. </td></tr>
    <tr><td class="paramname">documentLocation,:</td><td>The document Location </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_post_list_8java_source.html#l00050">50</a> of file <a class="el" href="_post_list_8java_source.html">PostList.java</a>.</p>

<p>References <a class="el" href="interfacedataaccess_1_1dao_1_1_post_list_d_a_o.html#a144f8a1120114f180f53f86cfa542122">dataaccess.dao.PostListDAO.Contains()</a>, <a class="el" href="_d_a_o_factory_8java_source.html#l00040">dataaccess.factories.DAOFactory.getActiveDAOFactory()</a>, <a class="el" href="_word_tracker_8java_source.html#l00023">com.utn.searchengine.WordTracker.getFrequency()</a>, <a class="el" href="classdataaccess_1_1factories_1_1_d_a_o_factory.html#a009cb6291e5e866156029f5c976cc2f3">dataaccess.factories.DAOFactory.getPostListDAO()</a>, and <a class="el" href="interfacedataaccess_1_1dao_1_1_post_list_d_a_o.html#a7a007e8ebaea6254d3c504ff623b0c1e">dataaccess.dao.PostListDAO.grabarPostList()</a>.</p>

<p>Referenced by <a class="el" href="_local_word_count_manager_8java_source.html#l00041">com.utn.searchengine.LocalWordCountManager.addDocument()</a>.</p>

</div>
</div>
<a class="anchor" id="a3d377cfba00c9f0df426b835fddee6e1"></a><!-- doxytag: member="com::utn::searchengine::PostList::getAllWords" ref="a3d377cfba00c9f0df426b835fddee6e1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Map&lt;String, <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a>&gt; <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#a3d377cfba00c9f0df426b835fddee6e1">com.utn.searchengine.PostList.getAllWords</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>A Single Map containing all the words that exist on the post list. This number should be the same that the number of words that exist on the vocabulary. </dd></dl>

<p>Definition at line <a class="el" href="_post_list_8java_source.html#l00097">97</a> of file <a class="el" href="_post_list_8java_source.html">PostList.java</a>.</p>

<p>References <a class="el" href="_d_a_o_factory_8java_source.html#l00040">dataaccess.factories.DAOFactory.getActiveDAOFactory()</a>, <a class="el" href="interfacedataaccess_1_1dao_1_1_word_d_a_o.html#a201645375a5f15c78323ee22e1ac9f69">dataaccess.dao.WordDAO.getVocabulary()</a>, and <a class="el" href="classdataaccess_1_1factories_1_1_d_a_o_factory.html#a221a85bee4a075cbe37fc5acce7ba339">dataaccess.factories.DAOFactory.getWordDAO()</a>.</p>

</div>
</div>
<a class="anchor" id="aa383844fc15866fdbd19c4de02dd544c"></a><!-- doxytag: member="com::utn::searchengine::PostList::getCandidateDocuments" ref="aa383844fc15866fdbd19c4de02dd544c" args="(Collection&lt; String &gt; wordquery)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Collection&lt;<a class="el" href="classcom_1_1utn_1_1searchengine_1_1_document.html">Document</a>&gt; <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#aa383844fc15866fdbd19c4de02dd544c">com.utn.searchengine.PostList.getCandidateDocuments</a> </td>
          <td>(</td>
          <td class="paramtype">Collection&lt; String &gt;&#160;</td>
          <td class="paramname"><em>wordquery</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Collecion de documentos candidatos </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">wordquery</td><td>palabras de la query </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>collecion de documentos que aparece las palabras de la query </dd></dl>

<p>Definition at line <a class="el" href="_post_list_8java_source.html#l00107">107</a> of file <a class="el" href="_post_list_8java_source.html">PostList.java</a>.</p>

<p>References <a class="el" href="_d_a_o_factory_8java_source.html#l00040">dataaccess.factories.DAOFactory.getActiveDAOFactory()</a>, <a class="el" href="classdataaccess_1_1factories_1_1_d_a_o_factory.html#a009cb6291e5e866156029f5c976cc2f3">dataaccess.factories.DAOFactory.getPostListDAO()</a>, and <a class="el" href="interfacedataaccess_1_1dao_1_1_post_list_d_a_o.html#ae1ac46108a931391815131e6bd0794fb">dataaccess.dao.PostListDAO.obtenerDocumentoCandidatos()</a>.</p>

</div>
</div>
<a class="anchor" id="a33bdf8f8460ac8622d069786707051f0"></a><!-- doxytag: member="com::utn::searchengine::PostList::getCandidateDocumentsFiltered" ref="a33bdf8f8460ac8622d069786707051f0" args="(Collection&lt; String &gt; wordquery)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="classcom_1_1utn_1_1searchengine_1_1_document_results.html">DocumentResults</a>&gt; <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#a33bdf8f8460ac8622d069786707051f0">com.utn.searchengine.PostList.getCandidateDocumentsFiltered</a> </td>
          <td>(</td>
          <td class="paramtype">Collection&lt; String &gt;&#160;</td>
          <td class="paramname"><em>wordquery</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>devuelve los documentos candidatos filtrados por la frecuencia y el nr </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">wordquery</td><td>palabras de la query </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>una lista de documentos candidatos filtrado </dd></dl>

<p>Definition at line <a class="el" href="_post_list_8java_source.html#l00125">125</a> of file <a class="el" href="_post_list_8java_source.html">PostList.java</a>.</p>

<p>References <a class="el" href="_d_a_o_factory_8java_source.html#l00040">dataaccess.factories.DAOFactory.getActiveDAOFactory()</a>, <a class="el" href="interfacedataaccess_1_1dao_1_1_post_list_d_a_o.html#aca2d8c0b339f8160c8cfde934ba65f4c">dataaccess.dao.PostListDAO.getFilteredCandidates()</a>, and <a class="el" href="classdataaccess_1_1factories_1_1_d_a_o_factory.html#a009cb6291e5e866156029f5c976cc2f3">dataaccess.factories.DAOFactory.getPostListDAO()</a>.</p>

<p>Referenced by <a class="el" href="_local_word_count_manager_8java_source.html#l00168">com.utn.searchengine.LocalWordCountManager.determinateBestSimilitude()</a>.</p>

</div>
</div>
<a class="anchor" id="a3835cd78d9a6cbe59b2bcf078d90509c"></a><!-- doxytag: member="com::utn::searchengine::PostList::getPostList" ref="a3835cd78d9a6cbe59b2bcf078d90509c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Map&lt;String, ArrayList&lt;<a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word_tracker.html">WordTracker</a>&gt; &gt; <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#a3835cd78d9a6cbe59b2bcf078d90509c">com.utn.searchengine.PostList.getPostList</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_post_list_8java_source.html#l00025">25</a> of file <a class="el" href="_post_list_8java_source.html">PostList.java</a>.</p>

</div>
</div>
<a class="anchor" id="a64dbfffa646daea156a31746bb0685e9"></a><!-- doxytag: member="com::utn::searchengine::PostList::getWordsDocument" ref="a64dbfffa646daea156a31746bb0685e9" args="(Document document)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a>&gt; <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#a64dbfffa646daea156a31746bb0685e9">com.utn.searchengine.PostList.getWordsDocument</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_document.html">Document</a>&#160;</td>
          <td class="paramname"><em>document</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>las palabras de un documentos </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">document</td><td>que quiero que me traiga palabras </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>la lista de palabras </dd></dl>

<p>Definition at line <a class="el" href="_post_list_8java_source.html#l00116">116</a> of file <a class="el" href="_post_list_8java_source.html">PostList.java</a>.</p>

<p>References <a class="el" href="_d_a_o_factory_8java_source.html#l00040">dataaccess.factories.DAOFactory.getActiveDAOFactory()</a>, <a class="el" href="classdataaccess_1_1factories_1_1_d_a_o_factory.html#a009cb6291e5e866156029f5c976cc2f3">dataaccess.factories.DAOFactory.getPostListDAO()</a>, and <a class="el" href="interfacedataaccess_1_1dao_1_1_post_list_d_a_o.html#a464d5ede23d1c7b4bf38db9c00b55fd5">dataaccess.dao.PostListDAO.getWordsDocument()</a>.</p>

<p>Referenced by <a class="el" href="_local_word_count_manager_8java_source.html#l00104">com.utn.searchengine.LocalWordCountManager.getDocumentModule()</a>.</p>

</div>
</div>
<a class="anchor" id="a1c1f62c62dd582404f6010a568a47daa"></a><!-- doxytag: member="com::utn::searchengine::PostList::numberOfDocumentsWhereWordAppears" ref="a1c1f62c62dd582404f6010a568a47daa" args="(Word word)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#a1c1f62c62dd582404f6010a568a47daa">com.utn.searchengine.PostList.numberOfDocumentsWhereWordAppears</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a>&#160;</td>
          <td class="paramname"><em>word</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>cantidad de documento que aparece una palabra </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">word,:</td><td>A <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of documents where the word has been found at least once. </dd></dl>

<p>Definition at line <a class="el" href="_post_list_8java_source.html#l00086">86</a> of file <a class="el" href="_post_list_8java_source.html">PostList.java</a>.</p>

<p>References <a class="el" href="_d_a_o_factory_8java_source.html#l00040">dataaccess.factories.DAOFactory.getActiveDAOFactory()</a>, <a class="el" href="interfacedataaccess_1_1dao_1_1_word_d_a_o.html#a0caeb4a8ca92a11788e7a53a9791303f">dataaccess.dao.WordDAO.getNrWord()</a>, and <a class="el" href="classdataaccess_1_1factories_1_1_d_a_o_factory.html#a221a85bee4a075cbe37fc5acce7ba339">dataaccess.factories.DAOFactory.getWordDAO()</a>.</p>

<p>Referenced by <a class="el" href="_local_word_count_manager_8java_source.html#l00071">com.utn.searchengine.LocalWordCountManager.numberOfDocumentsWhereWordAppears()</a>.</p>

</div>
</div>
<a class="anchor" id="ac9f616ad84ee2a77cdadfbfe5730c2e8"></a><!-- doxytag: member="com::utn::searchengine::PostList::setPostList" ref="ac9f616ad84ee2a77cdadfbfe5730c2e8" args="(Map&lt; String, ArrayList&lt; WordTracker &gt;&gt; postList)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#ac9f616ad84ee2a77cdadfbfe5730c2e8">com.utn.searchengine.PostList.setPostList</a> </td>
          <td>(</td>
          <td class="paramtype">Map&lt; String, ArrayList&lt; <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word_tracker.html">WordTracker</a> &gt;&gt;&#160;</td>
          <td class="paramname"><em>postList</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_post_list_8java_source.html#l00029">29</a> of file <a class="el" href="_post_list_8java_source.html">PostList.java</a>.</p>

</div>
</div>
<a class="anchor" id="a8f3297b7f1318ebb41af197f7b516cd8"></a><!-- doxytag: member="com::utn::searchengine::PostList::totalTimesThatWordRepeatsOnDocument" ref="a8f3297b7f1318ebb41af197f7b516cd8" args="(Word word, Document document)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_post_list.html#a8f3297b7f1318ebb41af197f7b516cd8">com.utn.searchengine.PostList.totalTimesThatWordRepeatsOnDocument</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a>&#160;</td>
          <td class="paramname"><em>word</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classcom_1_1utn_1_1searchengine_1_1_document.html">Document</a>&#160;</td>
          <td class="paramname"><em>document</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Frecuencia de una palabra en un documento </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">word,:</td><td>A <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_word.html">Word</a> </td></tr>
    <tr><td class="paramname">document,:</td><td>A <a class="el" href="classcom_1_1utn_1_1searchengine_1_1_document.html">Document</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The total times that the word appears on the document. </dd></dl>

<p>Definition at line <a class="el" href="_post_list_8java_source.html#l00076">76</a> of file <a class="el" href="_post_list_8java_source.html">PostList.java</a>.</p>

<p>References <a class="el" href="_d_a_o_factory_8java_source.html#l00040">dataaccess.factories.DAOFactory.getActiveDAOFactory()</a>, <a class="el" href="classdataaccess_1_1factories_1_1_d_a_o_factory.html#a009cb6291e5e866156029f5c976cc2f3">dataaccess.factories.DAOFactory.getPostListDAO()</a>, and <a class="el" href="interfacedataaccess_1_1dao_1_1_post_list_d_a_o.html#a15bf2369736444075e32a151f4a1e0e9">dataaccess.dao.PostListDAO.getTF()</a>.</p>

<p>Referenced by <a class="el" href="_local_word_count_manager_8java_source.html#l00062">com.utn.searchengine.LocalWordCountManager.timesThatAWordRepeatsOnDocument()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/main/java/com/utn/searchengine/<a class="el" href="_post_list_8java_source.html">PostList.java</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Feb 16 2012 02:45:40 for DLC Search Engine by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
